package com.jk.controller;

import com.jk.dto.SysDictData;
import com.jk.interfaces.SysDictDataServiceApi;
import com.jk.service.SysDictDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author yzf
 * @version 1.0
 * @description: TODO
 * @date 2024/12/11 17:24
 */
@RestController
public class SysDictDataController implements SysDictDataServiceApi {
    @Autowired
    private SysDictDataService sysDictDataService;

    @Override
    public List<SysDictData> findSysDictBySex(String type) {
        return sysDictDataService.findSysDictBySex(type);
    }

    @Override
    public List<SysDictData> findSysDictByStatus() {
        return sysDictDataService.findSysDictByStatus();
    }
}
